package com.sgcc.operate.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sgcc.operate.mapper.APayFlowMapper;
import com.sgcc.operate.domain.APayFlow;
import com.sgcc.operate.service.IAPayFlowService;

/**
 * 收费明细Service业务层处理
 * 
 * @author sgcc
 * @date 2021-03-26
 */
@Service
public class APayFlowServiceImpl implements IAPayFlowService 
{
    @Autowired
    private APayFlowMapper aPayFlowMapper;

    /**
     * 查询收费明细
     * 
     * @param id 收费明细ID
     * @return 收费明细
     */
    @Override
    public APayFlow selectAPayFlowById(String id)
    {
        return aPayFlowMapper.selectAPayFlowById(id);
    }

    /**
     * 查询收费明细列表
     * 
     * @param aPayFlow 收费明细
     * @return 收费明细
     */
    @Override
    public List<APayFlow> selectAPayFlowList(APayFlow aPayFlow)
    {
        return aPayFlowMapper.selectAPayFlowList(aPayFlow);
    }

    /**
     * 新增收费明细
     * 
     * @param aPayFlow 收费明细
     * @return 结果
     */
    @Override
    public int insertAPayFlow(APayFlow aPayFlow)
    {
        return aPayFlowMapper.insertAPayFlow(aPayFlow);
    }

    /**
     * 修改收费明细
     * 
     * @param aPayFlow 收费明细
     * @return 结果
     */
    @Override
    public int updateAPayFlow(APayFlow aPayFlow)
    {
        return aPayFlowMapper.updateAPayFlow(aPayFlow);
    }

    /**
     * 批量删除收费明细
     * 
     * @param ids 需要删除的收费明细ID
     * @return 结果
     */
    @Override
    public int deleteAPayFlowByIds(String[] ids)
    {
        return aPayFlowMapper.deleteAPayFlowByIds(ids);
    }

    /**
     * 删除收费明细信息
     * 
     * @param id 收费明细ID
     * @return 结果
     */
    @Override
    public int deleteAPayFlowById(String id)
    {
        return aPayFlowMapper.deleteAPayFlowById(id);
    }
}
